package drds.global_transaction.transaction_coordinator.lock_manager;

import drds.global_transaction.api.exception.GlobalTransactionException;
import drds.global_transaction.transaction_coordinator.transaction_session.BranchTransactionSession;

public interface LockManager
{

	boolean acquireLock(BranchTransactionSession branchTransactionSession) throws GlobalTransactionException;

	boolean isLockable(String resourceId, long globalTransactionId, String tableNameAndLockRecordIdsStringsString) throws GlobalTransactionException;
}
